package com.example.access_control.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 门禁日志
 * </p>
 *
 * @author  张彬 
 * @since 2025-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AccessControlLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 门禁设备id
     */
    private Integer accessControlId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 日志类型1人脸识别2刷卡识别3远程开门4远程关门5远程常开6远程常闭
     */
    private Integer logType;

    /**
     * 录入时间
     */
    private String createTime;


}
